.form-power {
  width: 100%;
  height: 100%;
  background: #fff; 
  .form-power-loading {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    .power-type-text {
      color: #999;
      font-size: 12px;
    }
    .am-button {
      height: 40px;
      line-height: 40px;
      border-radius: 2px;
    }
    .picker {
      position: relative;
      padding: 10px 20px;
      border-bottom: 1px solid #eee;
      height: 70px;
      display: flex;
      align-items: flex-end;
      .power-picker {
        position: absolute;
        display: inline-block;
        color: #868686;
        padding: 10px 20px;
        top:0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 50px;
        width: 100%;
        &>span {
          width: auto;
          padding-left: 0px;
          color: #000;
          font-size: 16px;
          padding-right: 8px;
          margin-bottom: -7px;
        }
        &>.icon-down {
          right: 4px;
          display: inline-block;
          position: relative;
        }
        &::after {
          display: none;
        }
      }
    }
    .forward {
      height: 40px;
      line-height: 40px;
      border-radius: 2px;
      margin: 20px 20px 0;
      border: 1px solid #55b1f9;
      color: #55b1f9;
    }
    .person-content {
      flex: 1;
      flex-grow: 1;
      height: calc(~"100% - 110px");
      font-size: 14px;
      padding: 20px 0;
      .wrapper {
        padding: 0 20px;
      }
      .add-person-btn {
        margin-bottom: 20px;
        text-align: center;
        color: #fff;
      }
      .form-author {
        color: #999999;
        padding-top: 5px;
        font-size: 12px;
      }
    }
    .person-list {
      height: calc(~"100% - 105px");
      overflow: auto;
      list-style: none;
      padding: 0 20px;
      li{
        display: flex;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding: 8px 0;
        .am-avatar {
          width: 45px;
          height: 45px;
          margin-right: 8px;
        }
        .person-info {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          overflow: hidden;
          .person-tag {
            color: #fff;
            padding: 1px 5px;
            margin-right: 5px;
            border-radius: 2px;
            &-CHATGROUP{
              background: #55ce7d;
            }
            &-DEPARTMENT{
              background: #896bef;
            }
            &-SUBCOMPANY{
              background: #108ee9;
            }
          }
          .person-name {
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .person-department {
            margin-top: 4px;
            font-size: 12px;
            color: #868686;
          }
          .group-size {
            margin-top: 4px;
            font-size: 12px;
            color: #868686;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .group-size-down {
            white-space: normal;
          }
        }
        &>.person-picker {
          display: flex;
          width: 60px;
          justify-content: flex-end;
          align-items: center;
          &>.am-icon {
            position: relative;
            top: -1px;
            left: 3px;
            color: #999;
            width: 18px;
            height: 18px;
          }
        }
      }
    }
  }
  .main-has-back {
    height: calc(~'100% - 33px');
  }
  .am-list-arrow {
    width: 10px !important;
    height: 10px !important;
  }
}
.power-picker-down {
  .edc-app-mobile-select {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px;
    ul {
      border-radius: 14px;
      overflow: hidden;
      li {
        height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #999;
        padding: 0 15px;
        &>.name {
          display: block;
          font-size: 16px;
          line-height: 20px;
          margin-bottom: 5px;
          color: #000;
        }
        &>.label {
          display: block;
          font-size: 12px;
          line-height: 16px;
          color: #999 !important;
        }
      }
      li.selected {
        &>.name {
          color:#55b1f9;
        }
      }
    }
    .am-icon-check {
      top: 20px !important;
      right: 0px;
      width: 23px;
      height: 23px;
    }
  }
  .edc-app-mobile-mask {
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.power-selected {
  &>.label {
    color: #55b1f9;
  }
}
.person-picker-down {
  .del {
    color: red;
  }
}
.wea-edc-group-nowrite {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .header {
    .am-notice-bar {
      height: 30px;
      line-height: 30px;
      font-size: 12px;
    }
  }
  .person-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 5px;
    background-color: #fff;
    .am-avatar {
      width: 45px;
      height: 45px;
      margin-right: 8px;
    }
    .am-list-item {
      overflow: hidden;
      padding: 8px 0;
      border-bottom: 1px solid #ddd;
      .am-list-thumb {
        .am-checkbox {
          height: 100%;
          .am-checkbox-inner {
            left: 7px;
            top: 20px;
          }
        }
      }
      .am-list-line {
        border-bottom: 0px;
      }
      .am-list-content {
        display: flex;
        align-items: center;
        padding: 0;
        .person-info {
          display: flex;
          flex-direction: column;
          justify-content: center;
          .person-name {
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .person-department {
            margin-top: 4px;
            font-size: 12px;
            color: #868686;
          }
        }
      }
    }
    .am-list-item:last-child {
      border-bottom: 0px;
    }
    .list-loading {
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .footer {
    position: relative;
    height: 47px;
  }
}